import { tableServiceInterface } from "@/common/interface/table.interface";
import {
  $musicSongFileList,
  $musicSongFileDelete,
  $musicSongFileUpdate,
  $musicSongFileAdd,
  $musicSongFileDetail,
} from "@/apis/music/songFile/songFile";
import {
  musicSongFileListInterface,
  musicSongFileAddInterface,
  musicSongFileUpdateInterface,
} from "@/apis/music/songFile/songFile.interface";
export default class SongFileService implements tableServiceInterface {
  async getTable(e: musicSongFileListInterface): Promise<any> {
    return $musicSongFileList(e);
  }
  deleteMultiple(e: Array<string>): Promise<any> {
    return $musicSongFileDelete(e);
  }
  edit(e: musicSongFileUpdateInterface): Promise<any> {
    return $musicSongFileUpdate(e);
  }
  add(e: musicSongFileAddInterface): Promise<any> {
    return $musicSongFileAdd(e);
  }
  detail(id: number): Promise<any> {
    return $musicSongFileDetail(id);
  }
}